using System;
using Microsoft.SPOT;
using dotnetwarrior.NetMF.Game;

namespace RallyX
{
  class RallyXGame : GameManager
  {
    GamePlayScene _gamePlayScene = new GamePlayScene();

    public static RallyXGame Instance { get; private set; }

    public RallyXGame()
      : base(new Bitmap(320, 240))
    {
      TargetFrameRate = 20;
      FixedFrameRate = true;      
      Instance = this;
    }

    public override void LoadContent()
    {
      AddScene(_gamePlayScene);
      ShowScene(_gamePlayScene);

      base.LoadContent();
    }    
  }
}
